/**
 * @author: zhiqiang
 * @version: 1.0
 * @date: 2022/3/17
 * @description: 产品类规定产品的部件
 */
package com.lzq.builder.improved;

public class Computer {
    private String cpu;
    private String moBo;
    private String disk;
    private String RAM;
    private String power;

    public String getCpu() {
        return cpu;
    }

    public void setCpu(String cpu) {
        this.cpu = cpu;
    }

    public String getMoBo() {
        return moBo;
    }

    public void setMoBo(String moBo) {
        this.moBo = moBo;
    }

    public String getDisk() {
        return disk;
    }

    public void setDisk(String disk) {
        this.disk = disk;
    }

    public String getRAM() {
        return RAM;
    }

    public void setRAM(String RAM) {
        this.RAM = RAM;
    }

    public String getPower() {
        return power;
    }

    public void setPower(String power) {
        this.power = power;
    }

    @Override
    public String toString() {
        return cpu + moBo + disk + RAM + power;
    }
}
